package com.jiutong.meipenggang.entity;

import java.util.List;

/**
 * @author Veken
 * @date on 2017/12/21 17:59
 * @describe
 */

public class InvestMoneyBean extends BaseBean {


    /**
     * apr : 10
     * bindCardFlag : false
     * period : 90
     * amount : 50000
     * id : 75730C56719E5CC4C32BC3454FD87DDD0E702B78461C47603e026fd6
     * redPrmList : [{"redName":"注册送258.0元红包奖励","redRuleAmount":36000,"redId":"35","redHaveAmount":258,"endTime":"2018.02.03 11:10:00"},{"redName":"注册送155.0元红包奖励","redRuleAmount":22000,"redId":"34","redHaveAmount":155,"endTime":"2018.02.03 11:10:00"},{"redName":"注册送75.0元红包奖励","redRuleAmount":20000,"redId":"33","redHaveAmount":75,"endTime":"2018.01.24 11:10:00"},{"redName":"注册送45.0元红包奖励","redRuleAmount":13000,"redId":"32","redHaveAmount":45,"endTime":"2018.01.24 11:10:00"},{"redName":"注册送35.0元红包奖励","redRuleAmount":10000,"redId":"31","redHaveAmount":35,"endTime":"2018.01.24 11:10:00"}]
     * balance : 87974.03
     * title : 美财宝test20180104
     * token : 1515407569791a7320cfc-6ddd-43cf-9288-2304a594bcd0
     * ampleFlag : true
     * bidId : 8
     * minInvestAmount : 100
     * investAmount : 50000
     */

    private double apr;
    private boolean bindCardFlag;
    private int period;
    private double amount;
    private String id;
    private double balance;
    private String title;
    private String token;
    private boolean ampleFlag;
    private int bidId;
    private double minInvestAmount;
    private double investAmount;
    private List<RedPrmListBean> redPrmList;

    public double getApr() {
        return apr;
    }

    public void setApr(double apr) {
        this.apr = apr;
    }

    public boolean isBindCardFlag() {
        return bindCardFlag;
    }

    public void setBindCardFlag(boolean bindCardFlag) {
        this.bindCardFlag = bindCardFlag;
    }

    public int getPeriod() {
        return period;
    }

    public void setPeriod(int period) {
        this.period = period;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public boolean isAmpleFlag() {
        return ampleFlag;
    }

    public void setAmpleFlag(boolean ampleFlag) {
        this.ampleFlag = ampleFlag;
    }

    public int getBidId() {
        return bidId;
    }

    public void setBidId(int bidId) {
        this.bidId = bidId;
    }

    public double getMinInvestAmount() {
        return minInvestAmount;
    }

    public void setMinInvestAmount(double minInvestAmount) {
        this.minInvestAmount = minInvestAmount;
    }

    public double getInvestAmount() {
        return investAmount;
    }

    public void setInvestAmount(double investAmount) {
        this.investAmount = investAmount;
    }

    public List<RedPrmListBean> getRedPrmList() {
        return redPrmList;
    }

    public void setRedPrmList(List<RedPrmListBean> redPrmList) {
        this.redPrmList = redPrmList;
    }

    public static class RedPrmListBean {
        /**
         * redName : 注册送258.0元红包奖励
         * redRuleAmount : 36000
         * redId : 35
         * redHaveAmount : 258
         * endTime : 2018.02.03 11:10:00
         */

        private String redName;
        private int redRuleAmount;
        private String redId;
        private int redHaveAmount;
        private String endTime;

        public RedPrmListBean(int redRuleAmount, String endTime, int redHaveAmount, String redName,String redId) {
            this.redRuleAmount = redRuleAmount;
            this.endTime =endTime;
            this.redHaveAmount = redHaveAmount;
            this.redName = redName;
            this.redId = redId;
        }

        public String getRedName() {
            return redName;
        }

        public void setRedName(String redName) {
            this.redName = redName;
        }

        public int getRedRuleAmount() {
            return redRuleAmount;
        }

        public void setRedRuleAmount(int redRuleAmount) {
            this.redRuleAmount = redRuleAmount;
        }

        public String getRedId() {
            return redId;
        }

        public void setRedId(String redId) {
            this.redId = redId;
        }

        public int getRedHaveAmount() {
            return redHaveAmount;
        }

        public void setRedHaveAmount(int redHaveAmount) {
            this.redHaveAmount = redHaveAmount;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }
    }
}
